projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df79bd
)
[USG5_4] (sigblock): Use |, not &.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 16 Jun 1994 18:51:07 +0000
(18:51 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 16 Jun 1994 18:51:07 +0000
(18:51 +0000)
src/syssignal.h
patch
|
blob
|
history
diff --git
a/src/syssignal.h
b/src/syssignal.h
index 25ef1c029247f5515705109bc5f3de78d6bbae8c..374034df24670564112ebea246b01d7431793c03 100644
(file)
--- a/
src/syssignal.h
+++ b/
src/syssignal.h
@@
-71,7
+71,7
@@
sigset_t sys_sigsetmask (sigset_t new_mask);
#ifdef USG5_4
#ifndef sigblock
-#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK
&
sig, NULL))
+#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK
|
sig, NULL))
#endif
#define sigunblock(sig) (sigprocmask (SIG_SETMASK, SIGFULLMASK & ~(sig), NULL))